.navbar
    .navbar-inner
        .container-fluid
            a.brand(href='/',style="padding: 4px 20px 4px;")
                img(src='/stylesheets/themes/balder/logo_balder.png',id='mainlogo')
            .btn-group.pull-right
                a#homeBtn(data-toggle='dropdown', href='#', data-userid=userid, data-name=name).btn.dropdown-toggle
                    i.icon-user
                    span(style='padding: 6px')= name
                    span.caret
                ul.dropdown-menu
                    li
                        a(href='/') Hjem
                    li.divider
                    li
                        a(href='/logout') Logg ut
            .btn-group.pull-right
                .btn.btn-success.btn-large#createButton Opprett ny...
                #createBtn.btn.btn-success.btn-large.dropdown-toggle(data-toggle='dropdown')
                    span.caret
                ul.dropdown-menu#creation-menu.bottom-up
                    li
                        a(href='#', data-phase='idea') Idé
                        a(href='#', data-phase='proposal') Tilbud
                        a(href='#', data-phase='task') Oppdrag
div#padder(style='padding-top: 64px')
nav
    ul
        each menu, link in navs
            if(level >= menu.lvl || menu.lvl == 0)
                li
                    a.ribbonhint(href='#', data-value=link, title='Gå til <span style="color:#bbf">'+menu.title+'</span>', class='navlink-'+link, data-phase=menu.phase)
                        div(id= link, class='menuimg')
                        span.menulabel= menu.title
    br(style='clear:both;')
section#content(style='overflow:auto')